package com.jsmtr.rms.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.springframework.format.annotation.DateTimeFormat;

/**
 * 招聘方案
 */
@Entity
@Table(name = "Project_Info")
public class ProjectInfo {

    @Id
    @Column(nullable = false, length = 50)
    private String id; // id

    @Column(nullable = false, length = 500)
    private String pname; // 招聘方案名称

    @Column(nullable = false, length = 50)
    private String planid; // 招聘计划ID

    @Column(nullable = false, length = 500)
    private String planname; // 招聘计划名称

    @Column(nullable = true)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date startdate; // 开始日期

    @Column(nullable = true)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date enddate; // 结束日期

    @Column(nullable = false)
    private Integer recruittype; //招聘方式

    @Column(nullable = false)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date adddate; // 添加时间

    @Column(nullable = false, length = 50)
    private String adduid; // 添加人ID

    @Column(nullable = false, length = 50)
    private String adduname; // 添加人

    @Column(nullable = false)
    private Integer state; // 状态

    @Column(nullable = true,length = 50)
    private String pdisplay; //是否显示

    @Column(nullable = true,length = 50)
    private String season;//季节

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public String getPlanid() {
        return planid;
    }

    public void setPlanid(String planid) {
        this.planid = planid;
    }

    public String getPlanname() {
        return planname;
    }

    public void setPlanname(String planname) {
        this.planname = planname;
    }

    public Date getStartdate() {
        return startdate;
    }

    public void setStartdate(Date startdate) {
        this.startdate = startdate;
    }

    public Date getEnddate() {
        return enddate;
    }

    public void setEnddate(Date enddate) {
        this.enddate = enddate;
    }

    public Integer getRecruittype() {
        return recruittype;
    }

    public void setRecruittype(Integer recruittype) {
        this.recruittype = recruittype;
    }

    public Date getAdddate() {
        return adddate;
    }

    public void setAdddate(Date adddate) {
        this.adddate = adddate;
    }

    public String getAdduid() {
        return adduid;
    }

    public void setAdduid(String adduid) {
        this.adduid = adduid;
    }

    public String getAdduname() {
        return adduname;
    }

    public void setAdduname(String adduname) {
        this.adduname = adduname;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getPdisplay() {
        return this.pdisplay;
    }

    public void setPdisplay(String pdisplay) {
        this.pdisplay = pdisplay;
    }

    public String getSeason() {
        return this.season;
    }

    public void setSeason(String season) {
        this.season = season;
    }
}